home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 April / macformat-023.iso / Shareware City / Developers / StdFile FKEY ƒ / FileInfo FKEY docs next >
Encoding:
Text File  |  1994-12-20  |  3.1 KB  |  54 lines  |  [TEXT/ttxt]

  1.  
  2.  
  3.  
  4.                                                                FileInfo FKEY
  5.  
  6.  
  7. (1st beta of 12th april, 2nd beta 30th july 1993, 3rd beta 22th october 1994)
  8.  
  9.  
  10. WHY?
  11. ====
  12. The single most useful FKEY I have found is the SetFile FKEY by Bob Luce, from 1986. It allows selecting a file with the standard file dialog and setting its type, creator and flags. When checking or setting the file type/creator on a single file is really all you want to do, this FKEY is so much faster than firing up ResEdit or digging up some application.
  13.  
  14. Under system 7.1, SetFile FKEY finally stopped working. I found this to be the right opportunity to hack my own, and finally fix a few flaws in SetFile FKEY. Besides, I always thought SetFile was free software, but looking at the info box I get when starting it, I'm not sure. In any case, FileInfo FKEY *is* free.
  15.  
  16. WHAT?
  17. =====
  18. FileInfo FKEY takes a file selected with the standard file dialog, and gives you a dialog where you can view or change its type and creator, and modify its "bundle" and "inited" flags. I have deliberately omitted a number of flags that I never have seen any need to mess with. I want FileInfo FKEY to be small and simple to use.
  19.  
  20. HOW DO I USE IT?
  21. ===============
  22. You install FileInfo FKEY like any other FKEY, either copy it to the System file with FKEY Manager or ResEdit (to the number of your choice), or with SuitCase, Carpetbag or a similar utility. (Note, however, that you should always keep a backup copy of your System file, especially when installing things in it. Crashes do occur once in a while.)
  23.  
  24. Once installed, you use it by typing command-shift-number, where the number is the number of the FKEY resource. (FileInfo FKEY is pre-configured to number 8.)
  25.  
  26. WHAT'S BETTER THAN SETFILE?
  27. ===========================
  28. FileInfo FKEY does have a few advantages over SetFile FKEY:
  29. • It works under sys 7.1.
  30. • It's easier to use since it doesn't have a lot of unnecessary checkboxes and information.
  31. • The text in the first text box (file type) is selected from start.
  32. • The default is to change.
  33. • It responds to return and command-period
  34.  
  35. Info for programmers: The reason why SetFile failed seems to be that it didn't load the standard file package. This wasn't needed in eariler systems, but in sys 7.1, it seems like it is.
  36.  
  37. VERSION HISTORY:
  38. ================
  39. ß2: First version distributed on shareware reply disks.
  40. ß3: Supports the ESC key. Fixed - well, rather worked around - the irritating glitch that the cursor switches to a wait cursor sometimes (which is NOT in my code). I suspect that the problem only appears in the Finder.
  41.  
  42.  
  43. WHAT COULD BE IMPROVED?
  44. =======================
  45. Improvements might happend, especially if there is any interest.
  46. • Some other flags that we need?
  47. • FinderInfo, an application doing the same task, has a "get from" feature. Add it?
  48. • Popup Menu with some common file types?
  49. • Perhaps I should get the file size information in a better way? Now we get nothing if the file is busy.
  50.  
  51. FileInfo FKEY has been tested on a Mac LC, IIsi and SE with sys 6.0.7, LC with sys 7.0 (tune-up 1.1.1), and IIfx and PB180c with sys 7.1.
  52.  
  53. FileInfo FKEY was made by Ingemar Ragnemalm, Linköping, Sweden.
  54.